<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<h1>test3.blade.php</h1>
{{--获取控制器中的变量--}}
{{$date}}<br>
{{$day}}<br>

{{--可在视图页面中使用函数--}}
{{date('Y-m-d H:i:s',$time)}}

{{--在视图中的循环--}}

id&emsp;&emsp;name&emsp;&emsp;age&emsp;&emsp;email&emsp;&emsp;
@foreach($data as $key => $value)
   {{ $value -> id }}
@endforeach


</body>
</html>
